package com.morizhang.merchanmanager.api.dao;

import com.morizhang.merchanmanager.api.model.CommoditySellingModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CommoditySellingDao {
    public void addCommoditySelling(CommoditySellingModel commoditySellingModel);
    public CommoditySellingModel queryCommoditySelling(String serialNo);
    public CommoditySellingModel queryCommoditySellingByBarcodeSelfNo(CommoditySellingModel commoditySellingModel);
    public List<CommoditySellingModel> selectAllCommoditySelling();
    public void updateCommoditySellingModel(CommoditySellingModel commoditySellingModel);
    public void deleteCommoditySellingModel(String serialNo);
}
